package com.yuerlive.paperplane.timeline;

import android.support.annotation.NonNull;

import com.yuerlive.paperplane.BasePresenter;
import com.yuerlive.paperplane.BaseView;
import com.yuerlive.paperplane.data.ZhihuDailyNewsQuestion;

import java.util.List;

/**
 * Created by Admin on 2017/10/12.
 */

public interface ZhihuDailyContract {
    interface Presenter extends BasePresenter{
        void loadNews(boolean forceUpdate,boolean clearCache, long date);
    }

    interface  View extends BaseView<Presenter>{
        boolean isActive();
        void setLoadingIndicator(boolean active);
        void showResult(@NonNull List<ZhihuDailyNewsQuestion> list);
    }

}
